package mst

import (
	"math"
)

func CcanPermutePalindrome(s string) bool {
	rMap := make(map[uint8]int, 0)
	l := len(s)
	for i:=0; i<l; i++ {
		rMap[s[i]] = 1
	}
	mid := math.Ceil(float64(l) / 2)
	if len(rMap) == int(mid)  {
		return true
	}

	return false
}